/**menu**/

.menu .menu-item.treeNodeActive+.dis .treeSubNode:first-child {
    padding-right: 1px;
    position: relative;
    left: 1px;
}

.menu .menu-item.treeNodeActive .menuCollapse {
    transform: rotate(-180deg);
}

.menu_hs {
    height: 100px;
    width: 10px;
    float: left;
    background: #707070;
    cursor: pointer;
    margin-top: 270px;
    span {
        width: 10px;
        height: 10px;
        display: block;
        border: 1px solid #fff;
        border-right: none;
        border-top: none;
        margin: 40px 0 0 3px;
        transform: rotate(45deg);
    }
}

.menu_hss {
    height: 100px;
    width: 10px;
    float: left;
    background: #707070;
    cursor: pointer;
    margin-top: 270px;
    span {
        width: 10px;
        height: 10px;
        display: block;
        border: 1px solid #fff;
        border-right: none;
        border-top: none;
        margin: 40px 0 0 -3px;
        transform: rotate(225deg);
    }
}

.menu {
    float: left;
    width: 200px;
    background: #434343;
    a {
        color: #ccc;
    }
    .itemSelected {
        background-color: #707070;
        a {
            color: #fff;
        }
    }
    .submenuTitle a {
        text-indent: 50px;
        display: inline-block;
        width: 100%;
        height: 100%;
        vertical-align: middle;
        &:hover {
            background-color: #707070;
        }
    }
    .menuLink {
        cursor: pointer;
        font-size: 16px;
        display: inline-block;
        width: 100%;
        height: 100%;
        text-indent: 50px;
    }
    .menu-item.treeNodeActive {
        a {
            color: $mian-col;
        }
    }
    .menu-item {
        background-color: #333;
        color: #898989;
        background: url("../images/index/split-line.png") repeat-x;
        background-position-y: 59px;
        // border: 1px solid #555;
        a {
            font-size: 16px;
        }
    }
    .menuCollapse {
        -webkit-transition: .2s ease all;
        -moz-transition: .2s ease all;
        -o-transition: .2s ease all;
        transition: .2s ease all;
    }
}

.tree {
    width: 100%;
    height: 800px;
    .panel-body {
        height: calc(100% - 36px);
        overflow: overlay;
    }
}

.treeNode {
    width: 200px;
    height: 60px;
    background-color: #FFFFFF;
    font-family: Arial, 'Times New Roman', SimHei;
    font-size: 14px;
    color: #9F9F9F;
    &:hover {
        background-color: #707070;
    }
    .menuTitle {
        width: 100%;
        height: 100%;
    }
    .submenuTitle {
        position: absolute;
        margin-left: 55px;
        margin-top: 17px;
        width: 120px;
        height: 30px;
    }
    .menuIcon {
        position: absolute;
        margin-left: 18px;
        margin-top: 15px;
        i {
            width: 22px;
            height: 22px;
            display: block;
        }
    }
    .menuCollapse {
        position: absolute;
        // margin-left: 197px;
        left: 172px;
        margin-top: 25px;
    }
}

.treeNodeActive {
    width: 200px;
    height: 60px;
    background-color: #EEEEEE;
    font-family: Arial, 'Times New Roman', SimHei;
    font-size: 14px;
    color: $mian-col;
    .menuTitle {
        width: 100%;
        height: 100%;
    }
    .submenuTitle {
        position: absolute;
        margin-left: 55px;
        margin-top: 17px;
        width: 120px;
        height: 30px;
    }
    .menuIcon {
        position: absolute;
        margin-left: 18px;
        margin-top: 15px;
        i {
            width: 22px;
            height: 22px;
            display: block;
        }
    }
    .menuCollapse {
        position: absolute;
        // margin-left: 197px;
        left: 172px;
        margin-top: 25px;
    }
}

.treeSubNode {
    width: 200px;
    height: 60px;
    background-color: #333;
    font-family: Arial, 'Times New Roman', SimHei;
    font-size: 14px;
    color: $mian-col;
    .menuTitle {
        position: absolute;
        margin-left: 70px;
        margin-top: 17px;
        width: 120px;
        height: 30px;
    }
    .submenuTitle {
        width: 100%;
        height: 100%;
    }
    .menuIcon {
        position: absolute;
        margin-left: 30px;
        margin-top: 15px;
    }
    .menuCollapse {
        position: absolute;
        // margin-left: 197px;
        left: 172px;
        margin-top: 25px;
    }
}

// 当页面显示英文时使用字体
:lang(en) {
    font-family: arial, SimHei, Helvetica, sans-serif;
}

.menu,
.menu .tree {
    height: auto;
}

* {
    -webkit-font-smoothing: none;
    -ms-font-smoothing: none;
    font-smoothing: none;
}


/**menu**/

@media (max-width: 991px) and (min-width: 768px) {
    .sub-contain {
        float: right;
        padding: 16px 16px 16px;
        width: 100%;
    }
    .menu {
        width: 100%;
        .tree {
            width: 100%;
        }
        .treeNode {
            width: 100%;
            .menuCollapse {
                right: 45px;
                left: inherit;
            }
        }
        .treeSubNode {
            width: 100%;
        }
        .treeNodeActive {
            width: 100%;
            .menuCollapse {
                right: 45px;
                left: inherit;
            }
        }
    }
}

.menu_box {
    height: 40px;
    background: $logo-shadow-col;
    position: relative;
    .menu_box_icon1 {
        position: absolute;
        width: 9px;
        height: 9px;
        display: inline-block;
        border-top: 1px solid #fff;
        border-left: 1px solid #fff;
        right: 45px;
        top: 33%;
        transform: rotate(-135deg);
        cursor: pointer;
    }
    .menu_box_icon2 {
        position: absolute;
        width: 9px;
        height: 9px;
        display: inline-block;
        border-top: 1px solid #fff;
        border-left: 1px solid #fff;
        right: 45px;
        top: 50%;
        transform: rotate(45deg);
        cursor: pointer;
    }
}

@media (max-width: 767px) {
    .sub-contain {
        float: right;
        padding: 16px 16px 16px;
        width: 100%;
    }
    .menu {
        width: 100%;
        .tree {
            width: 100%;
        }
        .treeNode {
            width: 100%;
            .menuCollapse {
                right: 45px;
                left: inherit;
            }
        }
        .treeSubNode {
            width: 100%;
        }
        .treeNodeActive {
            width: 100%;
            .menuCollapse {
                right: 45px;
                left: inherit;
            }
        }
    }
}

#menu_id {
    .menuNode {
        background: url("../images/index/split-line.png") repeat-x;
        background-position-y: 59px;
        line-height: 60px;
        cursor: pointer;
        position: relative;
    }
    .menuNode_text {
        display: block;
        width: 100%;
        text-indent: 50px;
    }
    .nodeIcon {
        width: 22px;
        height: 22px;
        display: inline-block;
        position: absolute;
        top: 20px;
        left: 15px;
    }
    .node_text {
        display: block;
        width: 100%;
        text-indent: 50px;
        background: #333;
    }
    .activeNode {
        background: #707070;
    }
    .activeNode2 .menuNode_text {
        color: $mian-col;
    }
}